from django.db import models
from sync.models import SFObject,SFField
from django.db.models import Q
from django.db import connection, transaction
from wizard.models.view import View

class ViewBlock(models.Model):
    view=models.ForeignKey(View)
    weight=models.IntegerField(default=0,null=True)
    cont=models.TextField(null=True)
    class Meta:
        db_table = 'wizard_view_block'
        app_label = 'wizard'             